package com.yuneec.droneservice.command;

import com.yuneec.droneservice.request.IResponse;

/**
 * Created by gjw on 2017/3/27.
 */

public class UnbindCamera extends BaseCommand {

    public UnbindCamera() {
        super(MAV_RC_COMMAND.MAV_RC_CMD_UNBIND_CAMERA);
    }

    @Override
    public IResponse toResponse(byte[] data, int off, int len) {
        int code = data[off + 1] & 0xff;
        return new IResponse(ids(), code);
    }
}
